package com.uniview.util.mail;

/**
 * 邮件发送工厂
 * 
 * @author Qingtian
 * @date 创建时间：2019年09月03日
 * @version
 */
public class MailSenderFactory {
	
	private static SimpleMailSender getInstance = null;
	 
	private MailSenderFactory() {
 
	}
 
	public static SimpleMailSender getSender() {
		if (getInstance == null) {
			getInstance = new SimpleMailSender();
			getInstance.init();
		}
		return getInstance;
	}

}
